package com.gzcstec.product.enums;

import lombok.Getter;

@Getter
public enum ExceptionCodeEnums {
    PRODUCT_NOT_EXIST(5001 , "商品不存在"),
    PRODUCT_STOCK_ERROR(5002 , "商品库存错误")
    ;

    private Integer code;
    private String message;

    ExceptionCodeEnums(Integer code , String message) {
        this.code = code;
        this.message = message;
    }
}
